package cn.bdqn.dao.order;

import cn.bdqn.pojo.order.UserOrder;
import cn.bdqn.pojo.reportForms.OrderRegisterReportForms;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserOrderMapper extends BaseMapper<UserOrder> {

    Boolean changeOrderState(@Param("orderNumber") String orderNumber,@Param("orderStateId") Integer ordeStateId);

    OrderRegisterReportForms getTodayRoder();

    OrderRegisterReportForms getYesterDay();

    OrderRegisterReportForms getSevenDay();
}
